<template>
  <div>
     <p>不同用户登录显示不同的菜单</p> 
     <p>不能将路由直接写死在route.js的children中，需要将路由从children中抽离，动态注册addRoute</p>
     <p>执行时机:登录和刷新页面(app.js)</p>
     <el-button @click="toVideo">参考视频</el-button>
  </div>
</template>

<script>
export default {
  name:'',
  data () {
    return {
       
    };
  },
  methods:{
    toVideo(){
      window.open('https://www.bilibili.com/video/BV15Q4y1K79c?from=search&seid=14807112959779725764', '_blank');
    }
  }
}

</script>
<style lang='less' scoped>
</style>